package data.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import data.dao.daoImplementation.NotFoundException;
import data.dto.*;
import data.searchdto.*;


public interface CompensationConsumedDAO {
	public ArrayList<CompensationLeaveUserDetails> findCompensationLeave(
			CompensationConsumedSearchDTO compensationconsumedSearchDTO)
			throws LeaveDAOException, NotFoundException, SQLException;

	public ArrayList<CompensationLeaveUserDetails> findAllCompensationLeave() throws LeaveDAOException, SQLException;

	public void insertCompensationLeave(CompensationConsumedDTO compensationconsumedDTO)
			throws LeaveDAOException, SQLException;

	public void updateCompensationLeave(CompensationConsumedDTO compensationconsumedDTO)
			throws LeaveDAOException, SQLException, NotFoundException;

	public void deleteCompensationLeave(CompensationConsumedDTO compensationconsumedDTO)
			throws LeaveDAOException, SQLException, NotFoundException;
}
